﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="TestimonialMain.ascx.cs" Inherits="AdminX_Testimonial_TestimonialMain" %>
 <div class="load_page">
                             
         
            <div class="search-top">
                <ul>
                    <li class="bt-addnew"><asp:LinkButton ID="btnAddnew" runat="server" CssClass="uibutton icon add" ToolTip="Add News" onclick="btnAddnew_Click1"></asp:LinkButton></li>
            </ul>        
            </div>
            <form action=""> 
			<div class="tableName">
				<h6><asp:Label ID="lblTotalRecord" runat="server" Text="Label"></asp:Label></h6>
                            
                <asp:Repeater ID="RpTestimonial" runat="server" 
                    onitemcommand="RpTestimonial_ItemCommand" 
                    onitemdatabound="RpTestimonial_ItemDataBound">
                    <HeaderTemplate>
                        <table class="display data_table2" >
                                   
	                        <thead>
		                        <tr>
			                        <th><div class="th_wrapp">STT</div></th>           
			                        <th><div class="th_wrapp">Người gửi</div></th>
			                        <th><div class="th_wrapp">Vị trí</div></th> 
			                        <th><div class="th_wrapp">Trạng thái</div></th>
                                    <th><div class="th_wrapp">Tùy chọn</div></th>
		                        </tr>
	                        </thead>

                            <tbody>
                                </HeaderTemplate>
                                    <ItemTemplate>
     	                                <tr class="odd gradeX">
                                            <td><%# Container.ItemIndex + 1 %></td>            
			                                <td> <asp:Label ID="lblFullName"   runat="server"></asp:Label></td>
			                                <td><asp:Label ID="lblPosition"   runat="server"></asp:Label></td>
			                                <td> 
                                                <asp:LinkButton ID="lnkActive" runat="server"  CommandName="Active" CausesValidation="false" ForeColor ="green"></asp:LinkButton>
                                                <asp:LinkButton ID="lnkInactive" runat="server"  CommandName="Inactive" CausesValidation="false" ForeColor="red"  ></asp:LinkButton>
                                            </td>
			                                <td class="center">
                                                <span class="tip" >
                                                    <asp:LinkButton ID="lnkEdit" runat="server" ToolTip="Edit" CommandName="Edit"><img src="Images/Layout/icon/gray_18/gear.png"></asp:LinkButton>
                                                </span> 
                                                <span class="tip" >
                                                    <asp:LinkButton ID="lnkDelete" runat="server" ToolTip="Delete" CommandName="Delete"><img src="Images/Layout/icon/gray_18/trash_can.png"></asp:LinkButton>
                                                </span>
                                            </td>
		                                </tr>                              	
	                                </ItemTemplate>
	                            <FooterTemplate>
	                        </tbody>

                        </table>
                    </FooterTemplate>
                </asp:Repeater>
			</div>
		</form>

    </div>